home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / Direct3D / BumpMapping / BumpWaves / BumpWaves.mak < prev    next >
Text File  |  2001-10-08  |  6KB  |  252 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Based on BumpWaves.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=BumpWaves - Win32 Debug
  4. !MESSAGE No configuration specified. Defaulting to BumpWaves - Win32 Debug.
  5. !ENDIF 
  6.  
  7. !IF "$(CFG)" != "BumpWaves - Win32 Release" && "$(CFG)" != "BumpWaves - Win32 Debug"
  8. !MESSAGE Invalid configuration "$(CFG)" specified.
  9. !MESSAGE You can specify a configuration when running NMAKE
  10. !MESSAGE by defining the macro CFG on the command line. For example:
  11. !MESSAGE 
  12. !MESSAGE NMAKE /f "BumpWaves.mak" CFG="BumpWaves - Win32 Debug"
  13. !MESSAGE 
  14. !MESSAGE Possible choices for configuration are:
  15. !MESSAGE 
  16. !MESSAGE "BumpWaves - Win32 Release" (based on "Win32 (x86) Application")
  17. !MESSAGE "BumpWaves - Win32 Debug" (based on "Win32 (x86) Application")
  18. !MESSAGE 
  19. !ERROR An invalid configuration is specified.
  20. !ENDIF 
  21.  
  22. !IF "$(OS)" == "Windows_NT"
  23. NULL=
  24. !ELSE 
  25. NULL=nul
  26. !ENDIF 
  27.  
  28. !IF  "$(CFG)" == "BumpWaves - Win32 Release"
  29.  
  30. OUTDIR=.\Release
  31. INTDIR=.\Release
  32. # Begin Custom Macros
  33. OutDir=.\Release
  34. # End Custom Macros
  35.  
  36. ALL : "$(OUTDIR)\BumpWaves.exe"
  37.  
  38.  
  39. CLEAN :
  40.     -@erase "$(INTDIR)\BumpWaves.obj"
  41.     -@erase "$(INTDIR)\d3dapp.obj"
  42.     -@erase "$(INTDIR)\d3dfile.obj"
  43.     -@erase "$(INTDIR)\d3dfont.obj"
  44.     -@erase "$(INTDIR)\d3dutil.obj"
  45.     -@erase "$(INTDIR)\dxutil.obj"
  46.     -@erase "$(INTDIR)\vc60.idb"
  47.     -@erase "$(INTDIR)\winmain.res"
  48.     -@erase "$(OUTDIR)\BumpWaves.exe"
  49.  
  50. "$(OUTDIR)" :
  51.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  52.  
  53. CPP=cl.exe
  54. CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\..\common\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"$(INTDIR)\BumpWaves.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  55.  
  56. .c{$(INTDIR)}.obj::
  57.    $(CPP) @<<
  58.    $(CPP_PROJ) $< 
  59. <<
  60.  
  61. .cpp{$(INTDIR)}.obj::
  62.    $(CPP) @<<
  63.    $(CPP_PROJ) $< 
  64. <<
  65.  
  66. .cxx{$(INTDIR)}.obj::
  67.    $(CPP) @<<
  68.    $(CPP_PROJ) $< 
  69. <<
  70.  
  71. .c{$(INTDIR)}.sbr::
  72.    $(CPP) @<<
  73.    $(CPP_PROJ) $< 
  74. <<
  75.  
  76. .cpp{$(INTDIR)}.sbr::
  77.    $(CPP) @<<
  78.    $(CPP_PROJ) $< 
  79. <<
  80.  
  81. .cxx{$(INTDIR)}.sbr::
  82.    $(CPP) @<<
  83.    $(CPP_PROJ) $< 
  84. <<
  85.  
  86. MTL=midl.exe
  87. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  88. RSC=rc.exe
  89. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\winmain.res" /d "NDEBUG" 
  90. BSC32=bscmake.exe
  91. BSC32_FLAGS=/nologo /o"$(OUTDIR)\BumpWaves.bsc" 
  92. BSC32_SBRS= \
  93.     
  94. LINK32=link.exe
  95. LINK32_FLAGS=d3dx8.lib d3d8.lib d3dxof.lib dxguid.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib /nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\BumpWaves.pdb" /machine:I386 /out:"$(OUTDIR)\BumpWaves.exe" /stack:0x200000,0x200000
  96. LINK32_OBJS= \
  97.     "$(INTDIR)\d3dapp.obj" \
  98.     "$(INTDIR)\d3dfile.obj" \
  99.     "$(INTDIR)\d3dfont.obj" \
  100.     "$(INTDIR)\d3dutil.obj" \
  101.     "$(INTDIR)\dxutil.obj" \
  102.     "$(INTDIR)\BumpWaves.obj" \
  103.     "$(INTDIR)\winmain.res"
  104.  
  105. "$(OUTDIR)\BumpWaves.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  106.     $(LINK32) @<<
  107.   $(LINK32_FLAGS) $(LINK32_OBJS)
  108. <<
  109.  
  110. !ELSEIF  "$(CFG)" == "BumpWaves - Win32 Debug"
  111.  
  112. OUTDIR=.\Debug
  113. INTDIR=.\Debug
  114. # Begin Custom Macros
  115. OutDir=.\Debug
  116. # End Custom Macros
  117.  
  118. ALL : "$(OUTDIR)\BumpWaves.exe"
  119.  
  120.  
  121. CLEAN :
  122.     -@erase "$(INTDIR)\BumpWaves.obj"
  123.     -@erase "$(INTDIR)\d3dapp.obj"
  124.     -@erase "$(INTDIR)\d3dfile.obj"
  125.     -@erase "$(INTDIR)\d3dfont.obj"
  126.     -@erase "$(INTDIR)\d3dutil.obj"
  127.     -@erase "$(INTDIR)\dxutil.obj"
  128.     -@erase "$(INTDIR)\vc60.idb"
  129.     -@erase "$(INTDIR)\vc60.pdb"
  130.     -@erase "$(INTDIR)\winmain.res"
  131.     -@erase "$(OUTDIR)\BumpWaves.exe"
  132.     -@erase "$(OUTDIR)\BumpWaves.ilk"
  133.     -@erase "$(OUTDIR)\BumpWaves.pdb"
  134.  
  135. "$(OUTDIR)" :
  136.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  137.  
  138. CPP=cl.exe
  139. CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "..\..\..\common\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"$(INTDIR)\BumpWaves.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  140.  
  141. .c{$(INTDIR)}.obj::
  142.    $(CPP) @<<
  143.    $(CPP_PROJ) $< 
  144. <<
  145.  
  146. .cpp{$(INTDIR)}.obj::
  147.    $(CPP) @<<
  148.    $(CPP_PROJ) $< 
  149. <<
  150.  
  151. .cxx{$(INTDIR)}.obj::
  152.    $(CPP) @<<
  153.    $(CPP_PROJ) $< 
  154. <<
  155.  
  156. .c{$(INTDIR)}.sbr::
  157.    $(CPP) @<<
  158.    $(CPP_PROJ) $< 
  159. <<
  160.  
  161. .cpp{$(INTDIR)}.sbr::
  162.    $(CPP) @<<
  163.    $(CPP_PROJ) $< 
  164. <<
  165.  
  166. .cxx{$(INTDIR)}.sbr::
  167.    $(CPP) @<<
  168.    $(CPP_PROJ) $< 
  169. <<
  170.  
  171. MTL=midl.exe
  172. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
  173. RSC=rc.exe
  174. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\winmain.res" /d "_DEBUG" 
  175. BSC32=bscmake.exe
  176. BSC32_FLAGS=/nologo /o"$(OUTDIR)\BumpWaves.bsc" 
  177. BSC32_SBRS= \
  178.     
  179. LINK32=link.exe
  180. LINK32_FLAGS=d3dx8dt.lib d3d8.lib d3dxof.lib dxguid.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib /nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\BumpWaves.pdb" /debug /machine:I386 /out:"$(OUTDIR)\BumpWaves.exe" /pdbtype:sept /stack:0x200000,0x200000
  181. LINK32_OBJS= \
  182.     "$(INTDIR)\d3dapp.obj" \
  183.     "$(INTDIR)\d3dfile.obj" \
  184.     "$(INTDIR)\d3dfont.obj" \
  185.     "$(INTDIR)\d3dutil.obj" \
  186.     "$(INTDIR)\dxutil.obj" \
  187.     "$(INTDIR)\BumpWaves.obj" \
  188.     "$(INTDIR)\winmain.res"
  189.  
  190. "$(OUTDIR)\BumpWaves.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  191.     $(LINK32) @<<
  192.   $(LINK32_FLAGS) $(LINK32_OBJS)
  193. <<
  194.  
  195. !ENDIF 
  196.  
  197.  
  198. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  199. !IF EXISTS("BumpWaves.dep")
  200. !INCLUDE "BumpWaves.dep"
  201. !ELSE 
  202. !MESSAGE Warning: cannot find "BumpWaves.dep"
  203. !ENDIF 
  204. !ENDIF 
  205.  
  206.  
  207. !IF "$(CFG)" == "BumpWaves - Win32 Release" || "$(CFG)" == "BumpWaves - Win32 Debug"
  208. SOURCE=.\winmain.rc
  209.  
  210. "$(INTDIR)\winmain.res" : $(SOURCE) "$(INTDIR)"
  211.     $(RSC) $(RSC_PROJ) $(SOURCE)
  212.  
  213.  
  214. SOURCE=..\..\..\common\src\d3dapp.cpp
  215.  
  216. "$(INTDIR)\d3dapp.obj" : $(SOURCE) "$(INTDIR)"
  217.     $(CPP) $(CPP_PROJ) $(SOURCE)
  218.  
  219.  
  220. SOURCE=..\..\..\common\src\d3dfile.cpp
  221.  
  222. "$(INTDIR)\d3dfile.obj" : $(SOURCE) "$(INTDIR)"
  223.     $(CPP) $(CPP_PROJ) $(SOURCE)
  224.  
  225.  
  226. SOURCE=..\..\..\common\src\d3dfont.cpp
  227.  
  228. "$(INTDIR)\d3dfont.obj" : $(SOURCE) "$(INTDIR)"
  229.     $(CPP) $(CPP_PROJ) $(SOURCE)
  230.  
  231.  
  232. SOURCE=..\..\..\common\src\d3dutil.cpp
  233.  
  234. "$(INTDIR)\d3dutil.obj" : $(SOURCE) "$(INTDIR)"
  235.     $(CPP) $(CPP_PROJ) $(SOURCE)
  236.  
  237.  
  238. SOURCE=..\..\..\common\src\dxutil.cpp
  239.  
  240. "$(INTDIR)\dxutil.obj" : $(SOURCE) "$(INTDIR)"
  241.     $(CPP) $(CPP_PROJ) $(SOURCE)
  242.  
  243.  
  244. SOURCE=.\BumpWaves.cpp
  245.  
  246. "$(INTDIR)\BumpWaves.obj" : $(SOURCE) "$(INTDIR)"
  247.  
  248.  
  249.  
  250. !ENDIF 
  251.  
  252.